package com.gpframework.module.wages.service;

import com.gpframework.module.wages.domain.GzOfficeSalary;
import com.gpframework.module.wages.domain.vo.GzOfficeSalaryVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.gpframework.module.wages.domain.vo.SalarySummaryVo;

import java.util.Date;
import java.util.List;
/**
 * @ClassName GzOfficeSalary
 * @Author gpframework
 * @Date 2024-01-22
 * @Version 1.0.0
 * @Description 档口及办公室工资Service接口
 */
public interface IGzOfficeSalaryService extends IService<GzOfficeSalary> {

    /**
     * @Description 查询列表返回VO 用于返回给前端的列表接口
     * @Author gpframework
     * @Date 2024-01-22
     * @Param [lqw]
     * @Return List<GzOfficeSalaryVo>
     */
    List<GzOfficeSalaryVo> listVo(QueryWrapper<GzOfficeSalary> lqw);

    /**
     * @Description 通过查询详情VO 用于返回给前端的列详情接口
     * @Author gpframework
     * @Date 2024-01-22
     * @Param [id]
     * @Return GzOfficeSalaryVo
     */
    GzOfficeSalaryVo getVoById(Long id);

    List<SalarySummaryVo> list(String month, String deptName );

    void delelteMonth(Date yearMonth);

    List<GzOfficeSalaryVo> listStatistics(QueryWrapper<GzOfficeSalary> lqw);
}
